package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Advert)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:13:05
 */
@ApiModel(value = "广告")
public class Advert implements Serializable {
    private static final long serialVersionUID = 692755596660113558L;
    /**
     * 广告id
     */
    @ApiModelProperty(name = "advertId",notes = "广告id",value = "广告id")
    private Integer advertId;
    /**
     * 广告图片
     */
    @ApiModelProperty(name = "url",notes = "广告图片",value = "广告图片")
    private String url;
    /**
     * 广告连接
     */
    @ApiModelProperty(name = "link",notes = "广告连接",required = true,value = "广告连接")
    private String link;
    /**
     * 开启状态（1：开启 0：未开启）
     */
    @ApiModelProperty(name = "advertStatu",notes = "开启状态（1：开启 0：未开启）",value = "开启状态（1：开启 0：未开启）")
    private Integer advertStatu;
    /**
     * 开启时间
     */
    @ApiModelProperty(name = "advertStart",notes = "开启时间",value = "开启时间")
    private Date advertStart;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "advertLast",notes = "结束时间",value = "结束时间")
    private Date advertLast;
    /**
     * 广告名称
     */
    @ApiModelProperty(name = "advertName",notes = "广告名称",required = true,value = "广告名称")
    private String advertName;
    /**
     * 广告位置
     */
    @ApiModelProperty(name = "advertAdd",notes = "广告位置",required = true,value = "广告位置")
    private String advertAdd;
    /**
     * 排序
     */
    @ApiModelProperty(name = "order",notes = "排序",required = true,value = "排序")
    private Integer order;


    public Integer getAdvertId() {
        return advertId;
    }

    public void setAdvertId(Integer advertId) {
        this.advertId = advertId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getAdvertStatu() {
        return advertStatu;
    }

    public void setAdvertStatu(Integer advertStatu) {
        this.advertStatu = advertStatu;
    }

    public Date getAdvertStart() {
        return advertStart;
    }

    public void setAdvertStart(Date advertStart) {
        this.advertStart = advertStart;
    }

    public Date getAdvertLast() {
        return advertLast;
    }

    public void setAdvertLast(Date advertLast) {
        this.advertLast = advertLast;
    }

    public String getAdvertName() {
        return advertName;
    }

    public void setAdvertName(String advertName) {
        this.advertName = advertName;
    }

    public String getAdvertAdd() {
        return advertAdd;
    }

    public void setAdvertAdd(String advertAdd) {
        this.advertAdd = advertAdd;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "Advert{" +
                "advertId=" + advertId +
                ", url='" + url + '\'' +
                ", link='" + link + '\'' +
                ", advertStatu=" + advertStatu +
                ", advertStart=" + advertStart +
                ", advertLast=" + advertLast +
                ", advertName='" + advertName + '\'' +
                ", advertAdd='" + advertAdd + '\'' +
                ", order=" + order +
                '}';
    }
}